import { MenuProps } from "antd";
import { AppstoreOutlined, MailOutlined, SettingOutlined } from '@ant-design/icons';

type MenuItem = Required<MenuProps>['items'][number];

export const items: MenuItem[] = [
  {
    label: '首页',
    key: '/',
    icon: <MailOutlined />,
  },
  {
    label: '列表',
    key: '/list',
    icon: <AppstoreOutlined />,
  },
  {
    label: '详情',
    key: '/details',
    icon: <SettingOutlined />,
  },
];